home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PPPPOOOOLLLLYYYYMMMMEEEERRRRGGGGEEEE((((1111)))) GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((22225555 JJJJuuuullllyyyy 1111999999993333)))) PPPPOOOOLLLLYYYYMMMMEEEERRRRGGGGEEEE((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- polymerge - merge coincident vertices, collinear edges,
- coplanar faces in an OOGL OFF object
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ppppoooollllyyyymmmmeeeerrrrggggeeee [----vvvv _v_e_r_t_e_x__t_h_r_e_s_h] [----eeee _e_d_g_e__t_h_r_e_s_h] [----ffff
- _f_a_c_e__t_h_r_e_s_h] [----VVVV] [----EEEE] [----FFFF] [----dddd] [----bbbb] [_i_n_p_u_t_f_i_l_e._o_f_f]
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _P_o_l_y_m_e_r_g_e eliminates redundancies from polyhedral objects in
- OOGL's OFF format, and writes another OFF object to its
- standard output. (Optionally it can produce instead an
- input file for Brakke's Evolver.) Specifically, it combines
- nearly-coincident vertices, nearly-collinear edges, and
- nearly-coplanar faces. Vertices which aren't used on any
- face are deleted, as are faces with less than three
- vertices. Thresholds for approximate equality are
- adjustable from the command line. Options are:
-
- ----vvvv _v_e_r_t_e_x__t_h_r_e_s_h
- Merge vertices when they're closer than _v_e_r_t_e_x__t_h_r_e_s_h
- apart; the default is .00001.
-
- ----VVVV Don't attempt to merge vertices.
-
- ----eeee _e_d_g_e__t_h_r_e_s_h
- Merge edges where |sin(vertex_angle)| < _e_d_g_e__t_h_r_e_s_h;
- the default is When edges are merged, the corresponding
- vertex is removed.
-
- ----EEEE Don't attempt to merge edges. (4OFF edges are never
- merged.)
-
- ----ffff _f_a_c_e__t_h_r_e_s_h
- Merge faces sharing an edge where the faces are nearly
- coplanar: when |sin(angle_between_face_normal_vectors)|
- < _f_a_c_e__t_h_r_e_s_h. The default is .03, or about two
- degrees. Note that merging can create faces which are
- concave polygons.
-
- ----FFFF Don't attempt to merge faces. (4OFF faces are never
- merged.)
-
- ----bbbb Produce an output file in .fe format for Brakke's
- Surface Evolver, instead of a new OFF file.
-
- ----dddd Include debugging information as comments in the new
- OFF object. The comments indicate which vertices and
- faces in the original object correspond to which in the
- new one. Messages include:
-
- # Vtx _n_n_n->_m_m_m
-
-
-
- Page 1 (printed 12/22/98)
-
-
-
-
-
-
- PPPPOOOOLLLLYYYYMMMMEEEERRRRGGGGEEEE((((1111)))) GGGGeeeeoooommmmeeeettttrrrryyyy CCCCeeeennnntttteeeerrrr ((((22225555 JJJJuuuullllyyyy 1111999999993333)))) PPPPOOOOLLLLYYYYMMMMEEEERRRRGGGGEEEE((((1111))))
-
-
-
- Merged vertices _n_n_n and _m_m_m (both indices in the
- original object).
-
- # Merged face _n_n_n into _m_m_m (vertices _v_v_v _w_w_w) n1.n2 _s
- Faces _n_n_n and _m_m_m in the original object were merged;
- their common edge joined original vertices _v_v_v and _w_w_w.
- The cosine of the angle between the face normals was _s.
-
- _v_e_r_t_e_x _c_o_o_r_d_i_n_a_t_e_s # _n_e_w_v_e_r_t_n_o [_o_r_d_e_r] # _o_l_d_v_e_r_t_n_o
- Each vertex written appears with its new index, its
- order (number of edges touching that vertex), and its
- old index (index of a corresponding vertex in the
- original object).
-
- _f_a_c_e _d_e_s_c_r_i_p_t_i_o_n # _o_l_d_v_e_r_t_n_o ...
- For each new face, with _N vertices after reduction, the
- comment indicates _N corresponding vertices in the
- original object.
-
- AAAAUUUUTTTTHHHHOOOORRRR
- Stuart Levy, Geometry Center, University of Minnesota
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- anytooff(1), offconsol(1)
-
- BBBBUUUUGGGGSSSS
- Coplanar faces are merged even if they were assigned
- different colors. Should be able to handle binary OFF
- objects, but this hasn't been tested.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 12/22/98)
-
-
-
-